//
// Copyright (c) Microsoft Corporation.  All rights reserved.
//
//
// Use of this sample source code is subject to the terms of the Microsoft
// license agreement under which you licensed this sample source code. If
// you did not accept the terms of the license agreement, you are not
// authorized to use this sample source code. For the terms of the license,
// please see the license agreement between you and Microsoft or, if applicable,
// see the LICENSE.RTF on your install media or the root of your tools installation.
// THE SAMPLE SOURCE CODE IS PROVIDED "AS IS", WITH NO WARRANTIES OR INDEMNITIES.
//
/*++
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF
ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
PARTICULAR PURPOSE.
Copyright (c) 1995-1999  Microsoft Corporation

Module Name:

voice.h

Abstract:


Notes:


--*/
/*
------------------------------------------------------------------------------
    Revision History
    Date                Author            Activity ID            Activity Headline
    2007-04-28          qinxuetao         WM600003778            Modify func ConvertAudioRxGain to extern visibility
    2007-05-10          qinxuetao         WM600003334            If muting has been set, Dragonfly needs setting again after any call is retrieved or connected.
------------------------------------------------------------------------------
*/

#pragma once

HRESULT RILDrv_GetAudioGain(DWORD dwParam);
HRESULT RILDrv_SetAudioGain(DWORD dwParam, const RILGAININFO* lpGainInfo);
HRESULT RILDrv_SetAudioDevices(DWORD dwParam, const RILAUDIODEVICEINFO* lpAudioDeviceInfo);
HRESULT RILDrv_GetAudioMuting(DWORD dwParam);
HRESULT RILDrv_SetAudioMuting(DWORD dwParam, BOOL fEnable);
DWORD ConvertAudioRxGain(DWORD dwInValue, BOOL fMobileToModem);

#if defined (RIL_CACHE_AUDIO_MUTING) || defined (WAVECOM_DRIVER)
extern BOOL   g_fAudioMutingOn;
#endif

